Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update postgres version matrix #135

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

ponceta
Copy link
Member

@ponceta ponceta commented Apr 16, 2024

update ubuntu and python version

@ponceta ponceta self-assigned this Apr 16, 2024
@sjib sjib added this to the 2023.0 resp. 1.6.1 milestone Apr 23, 2024
@ponceta
Copy link
Member Author

ponceta commented Apr 25, 2024

@sjib with postgresql >= 14, users won't be able to export their data.

I'm a postgresql 14 user and I have to export my data to migrate to VSA 2020.

Info: ili2pg-4.6.1-63db90def1260a503f0f2d4cb846686cd4851184
Info: ili2c-5.2.3-3ec7a10e9bacc87e149a14a7f11a6035e0481c69
Info: iox-ili-1.21.8-a6aee68136447c0616995e56888fa9c7ef362a77
Info: java.version 11.0.22
Info: user.name <runner>
Info: maxMemory 4091904 KB
Info: currentTime 2024-04-25 07:39:10
Info: dbschema <pg2ili_abwasser>
Info: dburl <jdbc:postgresql://127.0.0.1:5432/qgep_prod>
Info: dbusr <postgres>
org.postgresql.util.PSQLException: SCRAM authentication is not supported by this driver. You need JDK >= 8 and pgjdbc >= 42.2.0 (not ".jre" versions)
  SCRAM authentication is not supported by this driver. You need JDK >= 8 and pgjdbc >= 42.2.0 (not ".jre" versions)
Traceback (most recent call last):
  File "/home/runner/work/qgepqwat2ili/qgepqwat2ili/qgepqwat2ili/utils/various.py", line 50, in exec_
    proc = subprocess.run(
           ^^^^^^^^^^^^^^^
  File "/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '"java" -jar "/home/runner/work/qgepqwat2ili/qgepqwat2ili/qgepqwat2ili/bin/ili2pg-4.6.1-bindist/ili2pg-4.6.1.jar" --schemaimport --dbhost "127.0.0.1" --dbport "5432" --dbusr "postgres" --dbpwd "postgres" --dbdatabase "qgep_prod" --dbschema pg2ili_abwasser --setupPgExt --createGeomIdx --createFk --createFkIdx --createTidCol --importTid --noSmartMapping --defaultSrsCode 2056 --log "/tmp/qgepqwat2ili/240425073909.ilicreate.log" --nameLang de /home/runner/work/qgepqwat2ili/qgepqwat2ili/qgepqwat2ili/ili/VSA_KEK_2019_2_d_LV95-20210120.ili' returned non-zero exit status 1.
Error: Process completed with exit code 1.

@3nids @domi4484 is the upgrade to the same dependancies as TEKSI wastewater a thing or would that be a huge refactoring and we would need a workaround for this?

@ponceta ponceta added bug Something isn't working ili2pg issues that require upstream ili2pg changes postgreSQL labels Apr 26, 2024
@sjib
Copy link
Contributor

sjib commented Aug 2, 2024

see also #57

@sjib
Copy link
Contributor

sjib commented Aug 2, 2024

and possible approach here: #138 (comment)

@ponceta ponceta closed this Aug 22, 2024
@ponceta ponceta reopened this Aug 22, 2024
Copy link
Member Author

@ponceta ponceta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adapt postgis matrix and actions versions

@sjib
Copy link
Contributor

sjib commented Oct 15, 2024

@ponceta Moved to next Milestone https://github.com/QGEP/qgepqwat2ili/milestone/6
I think you solved the issue for tww. Does it makes sense to backport this also to qgep?

@ponceta ponceta changed the title update ubuntu and python version update postgres version matrix Oct 18, 2024
@ponceta
Copy link
Member Author

ponceta commented Oct 18, 2024

Is there a reason to initialize both qgep and qwat databases in both test suites?

@sjib
Copy link
Contributor

sjib commented Oct 18, 2024

Is there a reason to initialize both qgep and qwat databases in both test suites?

Maybe because it is qgepqwat2ili and did not distinguish where it is used.

@sjib
Copy link
Contributor

sjib commented Oct 18, 2024

test postgis 15-3.4 SCRAM authentication is not supported by this driver. You need JDK >= 8 and pgjdbc >= 42.2.0 (not ".jre" versions)

see also QGEP/QGEP#845

@ponceta ponceta closed this Oct 22, 2024
@ponceta ponceta reopened this Oct 22, 2024
@ponceta
Copy link
Member Author

ponceta commented Oct 22, 2024

No issue anymore with postgres 16 except SCRAM SHA which should be solved after #160 is finished.

@ponceta
Copy link
Member Author

ponceta commented Oct 22, 2024

Update of datamodel version 1.6.2 is required before upgrading to postgres 16.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ili2pg issues that require upstream ili2pg changes postgreSQL
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants